/*
 * Copyright 2009 Gary Brown
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *
 * Change History:
 * 7 Mar 2009 : Initial version created by gary
 */
package org.betonthemove.ui.android;

public class MarketData implements java.io.Serializable {

	private static final long serialVersionUID = -7663936896327308482L;

	public MarketData(int marketId, int selectionId, String selectionName,
			boolean back, double price, double stake) {
		m_marketId = marketId;
		m_selectionId = selectionId;
		m_selectionName = selectionName;
		m_back = back;
		m_price = price;
		m_stake = stake;
	}

	public int getMarketId() {
		return(m_marketId);
	}
	
	public int getSelectionId() {
		return(m_selectionId);
	}
	
	public String getSelectionName() {
		return(m_selectionName);
	}
	
	public boolean isBack() {
		return(m_back);
	}
	
	public double getPrice() {
		return(m_price);
	}
	
	public void setPrice(double price) {
		m_price = price;
	}
	
	public double getStake() {
		return(m_stake);
	}
	
	public void setStake(double stake) {
		m_stake = stake;
	}
	
	private int m_marketId=0;
	private int m_selectionId=0;
	private String m_selectionName=null;
	private boolean m_back=false;
	private double m_price=0.0;
	private double m_stake=0.0;
}
